@PACKAGE_INIT@

# Leave Public Dependency Resolution Later
include(CMakeFindDependencyMacro)

find_dependency(CUDAToolkit REQUIRED)

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}")
find_dependency(Torch MODULE REQUIRED)

find_dependency(fmt)
if (NOT TARGET fmt::fmt)
  # use the fmt installed along with TritonJIT
  find_dependency(fmt REQUIRED PATHS "${CMAKE_CURRENT_LIST_DIR}/../fmt")
endif()

if (NOT TARGET TritonJIT::triton_jit)
  include("${CMAKE_CURRENT_LIST_DIR}/TritonJITTargets.cmake")
endif()

check_required_components(TritonJIT)
